<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
	<head>
		<title>信息列表</title>
		<style>
.njy {
	font-size: 12px
}
</style>
	</head>
	<body bgcolor="#ffffff">
		<table width="442" border="1" cellpadding="1" cellspacing="0"
			style="border-style: inherit" bordercolordark="#FFFFFF" class="njy">
			<tr align="center" height="25">
				<td colspan="6">
					<strong>学生信息列表</strong>
				</td>
			</tr>
			<tr align="center" height="25">
				<td>
					<strong>编号</strong>
				</td>
				<td>
					<strong>姓名</strong>
				</td>
				<td>
					<strong>年龄</strong>
				</td>
				<td>
					<strong>地址</strong>
				</td>
				<td>
					<strong>编辑</strong>
				</td>
				<td>
					<strong>删除</strong>
				</td>
			</tr>
			<s:iterator value="listPerson">
				<tr align="center" height="25">
					<td><s:property value="id"/></td>
					<td><s:property value="name"/></td>
					<td><s:property value="age"/></td>
					<td><s:property value="address"/></td>
					<td><a href='<s:url action="person_getById"><s:param name="person.id" value="id" /></s:url>'>编辑</a></td>
            		<td><a href='<s:url action="person_delete"><s:param name="person.id" value="id" /></s:url>'>删除</a></td>
				</tr>
			</s:iterator>
			<tr align="right">
				<td colspan="6">
					<a href="insert.jsp">添加信息</a>
				</td>
			</tr>
		</table>
	</body>
</html>
